package com.feihong.yw189.model.Kaika;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by yucheng on 2018/1/9.
 */

public class KuanDaiTcInfo{

    private int status;
    private String info;
    private DataBean data;

    protected KuanDaiTcInfo(Parcel in) {
        status = in.readInt();
        info = in.readString();
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {

        private String token;
        private List<ListBean> list;

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * spec_g_id : 1138
             * spec_g_name : 电信宽带套餐组
             * info : 首次测试
             * spec_type : 33
             * spec_list : [{"spec_id":"4814","spec_g_id":"1138","spec_name":"电信宽带名称333","spec_info":"电信宽带名称333","price":"0.00","dp_price":"0.00","system_spec_id":"1279","is_show":"1","user_group_id":"311","system_spec_info":{"spec_id":"1279","tc_name":"天翼e家-乐享·家-139元【天翼宽带 3移动 高清电视 固话】","show_parms":{"is_hongbao":[{"num":"123456789","title":"红包一号"},{"num":"987654321","title":"红包二号"}],"is_tel":1,"is_phone":{"min":2,"max":2},"is_sulv":[{"num":"20","title":"20M"}]}}},{"spec_id":"4811","spec_g_id":"1138","spec_name":"电信宽带名称222","spec_info":"电信宽带说明2222","price":"100.00","dp_price":"50.00","system_spec_id":"1281","is_show":"1","user_group_id":"311","system_spec_info":{"spec_id":"1281","tc_name":"天翼e家-乐享·家-229元【天翼宽带 3移动 高清电视 固话】","show_parms":{"is_hongbao":[{"num":"123456789","title":"红包一号"},{"num":"987654321","title":"红包二号"}],"is_tel":0,"is_phone":{"min":2,"max":3},"is_sulv":[{"num":"50","title":"50M"},{"num":"100","title":"100M"}]}}},{"spec_id":"4810","spec_g_id":"1138","spec_name":"电信宽带名称","spec_info":"电信宽带说明","price":"10.00","dp_price":"5.00","system_spec_id":"1280","is_show":"1","user_group_id":"311","system_spec_info":{"spec_id":"1280","tc_name":"天翼e家-乐享·家-169元【天翼宽带 3移动 高清电视 固话】","show_parms":{"is_hongbao":[{"num":"704022201","title":"900元当月"},{"num":"704022202","title":"900元次月"}],"is_tel":0,"is_phone":{"min":1,"max":5},"is_sulv":[{"num":"8","title":"8M"},{"num":"20","title":"20M"},{"num":"50","title":"50M"},{"num":"100","title":"100M"}]}}}]
             * spec_type_name : 电信宽带套餐
             */

            private String spec_g_id;
            private String spec_g_name;
            private String info;
            private String spec_type;
            private String spec_type_name;
            private List<SpecListBean> spec_list;

            public String getSpec_g_id() {
                return spec_g_id;
            }

            public void setSpec_g_id(String spec_g_id) {
                this.spec_g_id = spec_g_id;
            }

            public String getSpec_g_name() {
                return spec_g_name;
            }

            public void setSpec_g_name(String spec_g_name) {
                this.spec_g_name = spec_g_name;
            }

            public String getInfo() {
                return info;
            }

            public void setInfo(String info) {
                this.info = info;
            }

            public String getSpec_type() {
                return spec_type;
            }

            public void setSpec_type(String spec_type) {
                this.spec_type = spec_type;
            }

            public String getSpec_type_name() {
                return spec_type_name;
            }

            public void setSpec_type_name(String spec_type_name) {
                this.spec_type_name = spec_type_name;
            }

            public List<SpecListBean> getSpec_list() {
                return spec_list;
            }

            public void setSpec_list(List<SpecListBean> spec_list) {
                this.spec_list = spec_list;
            }

            public static class SpecListBean {
                /**
                 * spec_id : 4814
                 * spec_g_id : 1138
                 * spec_name : 电信宽带名称333
                 * spec_info : 电信宽带名称333
                 * price : 0.00
                 * dp_price : 0.00
                 * system_spec_id : 1279
                 * is_show : 1
                 * user_group_id : 311
                 * system_spec_info : {"spec_id":"1279","tc_name":"天翼e家-乐享·家-139元【天翼宽带 3移动 高清电视 固话】","show_parms":{"is_hongbao":[{"num":"123456789","title":"红包一号"},{"num":"987654321","title":"红包二号"}],"is_tel":1,"is_phone":{"min":2,"max":2},"is_sulv":[{"num":"20","title":"20M"}]}}
                 */

                private String spec_id;
                private String spec_g_id;
                private String spec_name;
                private String spec_info;
                private String price;
                private String dp_price;
                private String system_spec_id;
                private String is_show;
                private String user_group_id;
                private SystemSpecInfoBean system_spec_info;

                public String getSpec_id() {
                    return spec_id;
                }

                public void setSpec_id(String spec_id) {
                    this.spec_id = spec_id;
                }

                public String getSpec_g_id() {
                    return spec_g_id;
                }

                public void setSpec_g_id(String spec_g_id) {
                    this.spec_g_id = spec_g_id;
                }

                public String getSpec_name() {
                    return spec_name;
                }

                public void setSpec_name(String spec_name) {
                    this.spec_name = spec_name;
                }

                public String getSpec_info() {
                    return spec_info;
                }

                public void setSpec_info(String spec_info) {
                    this.spec_info = spec_info;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public String getDp_price() {
                    return dp_price;
                }

                public void setDp_price(String dp_price) {
                    this.dp_price = dp_price;
                }

                public String getSystem_spec_id() {
                    return system_spec_id;
                }

                public void setSystem_spec_id(String system_spec_id) {
                    this.system_spec_id = system_spec_id;
                }

                public String getIs_show() {
                    return is_show;
                }

                public void setIs_show(String is_show) {
                    this.is_show = is_show;
                }

                public String getUser_group_id() {
                    return user_group_id;
                }

                public void setUser_group_id(String user_group_id) {
                    this.user_group_id = user_group_id;
                }

                public SystemSpecInfoBean getSystem_spec_info() {
                    return system_spec_info;
                }

                public void setSystem_spec_info(SystemSpecInfoBean system_spec_info) {
                    this.system_spec_info = system_spec_info;
                }

                public static class SystemSpecInfoBean {
                    /**
                     * spec_id : 1279
                     * tc_name : 天翼e家-乐享·家-139元【天翼宽带 3移动 高清电视 固话】
                     * show_parms : {"is_hongbao":[{"num":"123456789","title":"红包一号"},{"num":"987654321","title":"红包二号"}],"is_tel":1,"is_phone":{"min":2,"max":2},"is_sulv":[{"num":"20","title":"20M"}]}
                     */

                    private String spec_id;
                    private String tc_name;
                    private ShowParmsBean show_parms;

                    public String getSpec_id() {
                        return spec_id;
                    }

                    public void setSpec_id(String spec_id) {
                        this.spec_id = spec_id;
                    }

                    public String getTc_name() {
                        return tc_name;
                    }

                    public void setTc_name(String tc_name) {
                        this.tc_name = tc_name;
                    }

                    public ShowParmsBean getShow_parms() {
                        return show_parms;
                    }

                    public void setShow_parms(ShowParmsBean show_parms) {
                        this.show_parms = show_parms;
                    }

                    public static class ShowParmsBean {
                        /**
                         * is_hongbao : [{"num":"123456789","title":"红包一号"},{"num":"987654321","title":"红包二号"}]
                         * is_tel : 1
                         * is_phone : {"min":2,"max":2}
                         * is_sulv : [{"num":"20","title":"20M"}]
                         */

                        private int is_tel;
                        private IsPhoneBean is_phone;
                        private List<IsHongbaoBean> is_hongbao;
                        private List<IsSulvBean> is_sulv;

                        public int getIs_tel() {
                            return is_tel;
                        }

                        public void setIs_tel(int is_tel) {
                            this.is_tel = is_tel;
                        }

                        public IsPhoneBean getIs_phone() {
                            return is_phone;
                        }

                        public void setIs_phone(IsPhoneBean is_phone) {
                            this.is_phone = is_phone;
                        }

                        public List<IsHongbaoBean> getIs_hongbao() {
                            return is_hongbao;
                        }

                        public void setIs_hongbao(List<IsHongbaoBean> is_hongbao) {
                            this.is_hongbao = is_hongbao;
                        }

                        public List<IsSulvBean> getIs_sulv() {
                            return is_sulv;
                        }

                        public void setIs_sulv(List<IsSulvBean> is_sulv) {
                            this.is_sulv = is_sulv;
                        }

                        public static class IsPhoneBean {
                            /**
                             * min : 2
                             * max : 2
                             */

                            private int min;
                            private int max;

                            public int getMin() {
                                return min;
                            }

                            public void setMin(int min) {
                                this.min = min;
                            }

                            public int getMax() {
                                return max;
                            }

                            public void setMax(int max) {
                                this.max = max;
                            }
                        }

                        public static class IsHongbaoBean {
                            /**
                             * num : 123456789
                             * title : 红包一号
                             */

                            private String num;
                            private String title;

                            public String getNum() {
                                return num;
                            }

                            public void setNum(String num) {
                                this.num = num;
                            }

                            public String getTitle() {
                                return title;
                            }

                            public void setTitle(String title) {
                                this.title = title;
                            }
                        }

                        public static class IsSulvBean implements Parcelable{
                            /**
                             * num : 20
                             * title : 20M
                             */

                            private String num;
                            private String title;

                            protected IsSulvBean(Parcel in) {
                                num = in.readString();
                                title = in.readString();
                            }

                            public static final Creator<IsSulvBean> CREATOR = new Creator<IsSulvBean>() {
                                @Override
                                public IsSulvBean createFromParcel(Parcel in) {
                                    return new IsSulvBean(in);
                                }

                                @Override
                                public IsSulvBean[] newArray(int size) {
                                    return new IsSulvBean[size];
                                }
                            };

                            public String getNum() {
                                return num;
                            }

                            public void setNum(String num) {
                                this.num = num;
                            }

                            public String getTitle() {
                                return title;
                            }

                            public void setTitle(String title) {
                                this.title = title;
                            }

                            @Override
                            public int describeContents() {
                                return 0;
                            }

                            @Override
                            public void writeToParcel(Parcel parcel, int i) {
                                parcel.writeString(num);
                                parcel.writeString(title);
                            }
                        }
                    }
                }
            }
        }
    }
}
